package cn.org.book.shop.config;

import cn.org.book.shop.framework.config.dynamic.SecurityAntMatchers;
import org.springframework.stereotype.Component;

/**
 * 动态配置App服务授权访问页面
 *
 * @auther: wanghongjie
 * @blame: wanghongjie
 * @date: 2020-11-30 20:06
 * @Description:
 */
@Component(value = "securityAntMatchers")
public class AppSecurityAntMatchers implements SecurityAntMatchers {

    @Override
    public String[] antMatchers() {
        return new String[]{"/v1/app/article/*", "/v1/app/userInfo/*", "/v1/app/channel/*"};
    }
}
